package com.shenghua.service;

import com.shenghua.dao.model.Notice;
import com.shenghua.dao.page.Page;
import com.shenghua.utils.beans.Dto;

import java.util.Map;

/**
 * Created by Administrator on 2018/12/29.
 */
public interface NoticeService {
    Dto<Notice> addNewNotice(Notice notice);
    Dto<Map<String,Object>> queryNoticeByPage(Map<String, Object> params, Page page);
    Dto<Notice> deleteNotice(Notice notice);
    Notice selectNoticeById(int id);
    Notice selectNoticeByNoticeNo(String noticeNo);
    Dto<Notice> editNotice(Notice notice);

    Dto<Map<String,Object>> queryAllNotice(Map<String, Object> params);
}
